package intprpt.factory;

import intprpt.service.IntprptService;
public class IntprptFactory {
	private static IntprptFactory instance;
	private IntprptService Intprpt;
	
	private IntprptFactory(){
		Intprpt=new IntprptService();
	}

	public static synchronized IntprptFactory getInstance() {

		if (instance == null) {
			instance = new IntprptFactory();
		}
		return instance;
	}

	public IntprptService creatIntprptService() {
		return Intprpt;
	}
}

